package com.example.nio.netty.protoco.serializer;

public interface Serializer {

    byte[] encode(Object o);

    <T> T decode(Class<T> tClass, byte[] bytes);
}
